package cn.ffcs.productdict.model;


import java.util.Date;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

import cn.ffcs.base.model.BaseEntity;
import cn.ffcs.product.model.Product;

/**
 * 产品目录实体类：定义基本属性<br/>
 * <table>
 * <tr>
 * <td>负责人/principal:</td>
 * <td colspan="2">g.huangjx</td>
 * <tr>
 * <td>修改记录/revision:</td>
 * <td colspan="2"></td>
 * </tr>
 * <tr>
 * <td>日期:2009-2-26</td>
 * <td>修改人:g.huangjx</td>
 * <td>修改说明:</td>
 * </tr>
 * <tr>
 * <td></td>
 * <td></td>
 * <td></td>
 * </tr>
 * </table>
 * @author g.huangjx
 * @version $Id$
 */

public class ProductInfo extends BaseEntity
{
    /** 所属产品**/
    private String product;
    
    /** 产品属性**/
    private String productProperty;
    
    /** 产品属性名称**/
    private String productPropertyName;
    
    /** 产品属性数据类型 **/
    private String dataType;
    
    /** 产品属性值**/
    private String propertyValue;
    
    /** 创建人**/
    private String creator;
    
    private Product PRODUCT;
    // Constructors


    /** default constructor */
    public ProductInfo() {
    }

    /** minimal constructor */
    public ProductInfo(int id) {
        this.id = id;
    }

    /** full constructor */
    public ProductInfo(int id, String product, String productProperty,
            String propertyValue, String creator, Date begin, Date end) {
        this.id = id;
        this.product = product;
        this.productProperty = productProperty;
        this.propertyValue = propertyValue;
        this.creator = creator;
        this.begin = begin;
        this.end = end;
    }

    // Property accessors


    public String getProduct() {
        return this.product;
    }

    public void setProduct(String product) {
        this.product = product;
    }

    public String getProductProperty() {
        return this.productProperty;
    }

    public void setProductProperty(String productProperty) {
        this.productProperty = productProperty;
    }

    public String getPropertyValue() {
        return this.propertyValue;
    }

    public void setPropertyValue(String propertyValue) {
        this.propertyValue = propertyValue;
    }

    public String getCreator() {
        return this.creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }
    public Product getPRODUCT()
    {
        return PRODUCT;
    }

    public void setPRODUCT(Product product)
    {
        PRODUCT = product;
    }

    public String getProductPropertyName()
    {
        return productPropertyName;
    }

    public void setProductPropertyName(String productPropertyName)
    {
        this.productPropertyName = productPropertyName;
    }

    public String getDataType()
    {
        return dataType;
    }

    public void setDataType(String dataType)
    {
        this.dataType = dataType;
    }
}
